attributes: metadata.TypeAttributes = 0;
fields: FieldInfo[] = [];
methods: MethodInfo[] = [];
properties: PropertyInfo[] = [];
events: EventInfo[] = [];
genericPrototype: Type = null;
genericArguments: Type[] = [];
nestingParent: Type = null;
layout: { packingSize: number; classSize: number; } = null; customAttributes: any[] = null;
public assembly?: Assembly,
public namespace?: string,
getBaseType() { return this.baseType; } getAssembly() { return this.assembly; } if (this.namespace && this.namespace.length)
return this.namespace + "." + this.name;
if (this.genericArguments.length) { var fullName = this.getFullName();
var qpos = fullName.indexOf('`'); fullName = fullName.substring(0, qpos);
fullName += '<' + this.genericArguments.join(',') + '>'; return this.getFullName();